package com.web.hilover.service;

import com.web.hilover.entity.User;

import java.util.List;

public interface UserService {
    User register(String username, String password);
    User login(String username, String password);
    void updatePassword(Long id, String password);
    User getUserById(Long id);
    List<User> getAllUsers();
    boolean updateUser(User user);
    boolean deleteUser(Long id);
} 